#ifndef TRIANGLE_H_INCLUDED
#define TRIANGLE_H_INCLUDED

#include <vector>
#include "Vec3.h"
struct Tri
{
    Tri() {}
	Tri(Vec3f a, Vec3f b, Vec3f c) 
	{ 
		m_verts[0] = a;
		m_verts[1] = b;
		m_verts[2] = c;
		m_normal = GenerateNormal(m_verts[0], m_verts[1], m_verts[2]);
        m_normal.Normalise();
	}
    Vec3f m_verts[3];
    Vec3f m_normal;
};
typedef std::vector<Tri> Tris;
#endif